#header .nav {
    height: 23px;
}

#header .bestselling {
    width: 200px;
    height: 430px;
}

#header .bestselling .title {
    line-height: 30px;
    font-size: 18px;
    background-color: #93d470;
    color: #fff;
    text-indent: 8px;
}

#header .bestselling ul li {
    position: relative;
    height: 22px;
    width: 200px;
    padding-top: 20px;
    border-bottom: 1px solid #b3b3b3;
    overflow: hidden;
}

#header .bestselling ul li .ranks{
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    width: 20px;
    background-color: #f60;
    line-height: 20px;
    color: #fff;
    text-align: center;
    font-size: 16px;
}

#header .bestselling ul li:nth-child(n + 4) .ranks {
    background-color: #b3b3b3;
} 

#header .bestselling ul li.active {
    height: 121px;
}
#header .bestselling ul li.active img {
    top: 0px;
}

#header .bestselling ul li img {
    position: relative;
    width: 97px;
    top: -20px;
}

#header .bestselling ul li:nth-child(n + 2) img {
    padding-left: 12px;
    padding-right: 10px;
    width: 75px;
}

#header .bestselling ul li p {
    margin-top: 6px;
    width: 103px;
    color: #333;
}

#header .ad img {
    vertical-align: bottom;
}

#discount {
    position: relative;
    margin-top: 72px;
    margin-bottom: 30px;
    border-top: 6px solid #f60;
}

#discount .title {
    position: absolute;
    height: 47px;
    width: 220px;
    background-color: #f60;
    top: -53px;
    color: #fff;
    font-size: 24px;
    line-height: 47px;
    text-align: center;
}

#discount ul li {
    width: 210px;
    height: 256px;
    margin-right: 37.5px;
}

#discount ul li:first-child {
    background-color: #f2f2f2;
}

#discount ul li:nth-child(5n){
    margin-right: 0px;
}

#discount ul li .bookimg {
    padding: 5px 30px 0 30px;
}

#discount ul li img {
    vertical-align: top;
}

#discount ul li .flagoff {
    height: 25px;
    background: url(../images/flag.png) no-repeat;
    line-height: 25px;
    text-indent: .9em;
    font-size: 16px;
    color: #fff;
}

#discount ul li h4 {
    text-indent: 10px;
    font-size: 14px;
    color: #333;
    line-height: 25px;
}

#discount ul li .recommend {
    text-indent: 10px;
    font-size: 14px;
    color: #f4290d;
    line-height: 20px;
}

#discount ul li .recommend .star {
    margin-right: 3px;
}

#discount ul li .price {
    text-indent: 10px;
    font-size: 24px;
    color: #f4290d;
}

#discount ul li .price del {
    margin-left: 20px;
    color: #c0c0c0;
}

#newbook .booklist {
    width: 901px;
    height: 496px;
    border: 2px solid #e6e6e6;
    border-top: none;
}

#newbook .title,
#unique .title,
#guess .title {
    height: 38px;
    border-bottom: 6px solid #f60;
    width: 905px;
    font-size: 22px;
    margin-top: 50px;
}

#unique .title,
#guess .title {
    width: 1200px;
}

#newbook .title span,
#unique .title span,
#guess .title span {
    display: inline-block;
    background-color: #f60;
    line-height: 38px;
    height: 38px;
    width: 42px;
    color: #fff;
    margin-right: 4px;
    text-align: center;
    font-size: 28px;
}

#slider-unique,
#guess {
    border-bottom: 2px solid #e6e6e6 ;
}

#newbook .booklist ul li,
#slider-unique ul>li ul>li,
#guess ul li {
    width: 180px;
    height: 248px;
}

#slider-unique ul>li ul>li,
#guess ul li  {
    width: 200px !important;
    float: left;
}

#newbook .booklist ul li img,
#slider-unique ul>li ul>li img,
#guess ul li img {
    padding: 16px 15px 0 15px;
}

#slider-unique ul>li ul>li img,
#guess ul li img {
    width: 150px !important;
    height: 150px !important;
}

#newbook .booklist ul li h4,
#slider-unique ul>li ul>li h4, 
#guess ul li h4{
    font-weight: 200;
    font-size: 14px;
    padding-left: 20px;
    color: #333;
}

#newbook .booklist ul li p,
#slider-unique ul>li ul>li p,
#guess ul li p {
    padding: 10px 0 2px 20px;
    color: #999;
}

#newbook .booklist ul li .price,
#slider-unique ul>li ul>li .price,
#guess ul li .price {
    font-size: 18px;
    padding-left: 20px;
    color: #f4290d;
}

#newbook .booklist ul li .price del,
#slider-unique ul>li ul>li .price del,
#guess ul li .price del {
    color: #c0c0c0;
    padding-left: 11px;
}

#newbook .bookrank {
    position: relative;
    top: -6px;
    width: 280px;
    height: 500px;
    border: 2px solid #e6e6e6;
}
    
#newbook .bookrank h3 {
    margin: 7px 0 10px;
    font-size: 24px;
    color: #808080;
    text-align: center;
}
    
#newbook .bookrank li {
    border-bottom: 2px solid #e6e6e6;
}
    
#newbook .bookrank li:last-child {
    border-bottom: 2px solid #e6e6e6;
}
    
#newbook .bookrank li .index {
    font-size: 16px;
    width: 22px;
    text-align: center;
}
    
#newbook .bookrank li p {
    color: #808080;
    width: 127px;
    margin-left: 7px;
    margin-top: 7px;
    line-height: 17px;
    font-size: 14px;
}
    
#newbook .bookrank li span {
    position: relative;
    top: -2px;
    height: 39px;
    line-height: 44px;
    color: #4c4c4c;
    background-color: #fff;
}

#newbook .bookrank li .detail {
    height: 169px;
}

#newbook .bookrank li:nth-child(-n+3) span {
    color: #ff2315;
}
    
#newbook .bookrank li:last-child {
    border: 0;
}
    
#newbook .bookrank li:nth-child(n+2) .detail{
    display: none;
}
    
#newbook .bookrank li:first-child .short{
    display: none;
}
    
#newbook .bookrank li h4 {
    color: #808080;
    margin: 0 9px;
    font-size: 16px;
    height: 39px;
    line-height: 39px;
}

#unique {
    position: relative;
}

#unique .tabs{
	position: absolute;
	right: 0;
	top: 4px;
    height: 34px;
}

#unique .tabs li { 
	display: inline-block;
	height: 14px;
	padding: 10px 13px;
	margin-right: 10px;
	line-height: 20px;
	font-size: 18px;
    color: #333;
    cursor: pointer;
}

#unique .tabs li.active {
    color: #fff;
    background-color: #f60;
}

#guess {
    position: relative;
    height: 540px;
}

#guess .likebtn {
    position: absolute;
    top: 9px;
    right: 5px;
    cursor: pointer;
}

#guess .procon {
    position: relative;
    overflow: hidden;
    height: 496px;
}

#guess .procon .slideparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#agreatbuy ul li {
    height: 159px;
    width: 200px;
    background-color: #f60;
}

footer .footerbox {
    margin-top: 0px !important;
}


#topsearch {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background-color: #FFA300;
    z-index: 200;
}

#topsearch form{
    width: 450px;
    margin-top: 5px;
}

